package com.hualan.sfzy.service.course;

import com.hualan.sfzy.entity.Course;
import com.hualan.sfzy.entity.SkilledFiled;
import com.hualan.sfzy.service.BaseService;
import com.hualan.sfzy.vo.CourseVo;

import java.util.List;
import java.util.Map;

public interface CourseService extends BaseService<Course> {

    int add(CourseVo entity);

    int edit(CourseVo entity);

    List<SkilledFiled> findSkilledFiled();

    Integer[] findCounselorId(Integer courseSkillId);

    Map<String, Object> findPage(Integer pageNum, Integer pageSize, CourseVo entity);

    int editStudyNum(Integer courseId, Integer num);
}
